//
//  NWMyTeamRequest.m
//  KuWoCan
//
//  Created by hwd on 17/3/28.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "NWMyTeamRequest.h"

@implementation NWMyTeamRequest

//根据用户Id查询所有下级经销商总销售情况
- (void)startRequestMyTeamTotalListWithUserId:(NSString *)userId
{
    _showError = YES;
    _showLoading = YES;
    _path = NWMyTeamGetTotalList_Path;
    
    NSMutableDictionary *dic = [[NSMutableDictionary alloc]initWithDictionary:@{@"userId":userId}];
    _params = dic;
    [self startPost];
}


//根据用户Id查询所有下级经销商销售情况明细
- (void)startRequestMyTeamDetailListWithCharacterId:(NSString *)characterId
{
    _showError = YES;
    _showLoading = YES;
    _path = NWMyTeamGetDetailList_Path;
    
    NSMutableDictionary *dic = [[NSMutableDictionary alloc]initWithDictionary:@{@"userId":characterId}];
    _params = dic;
    [self startPost];
}

@end
